package yl.hs.bmipfull.pojo.laboratory;

import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 作用:  退剩转信息实体类<br/>
 * 创建时间: 2021年06月23日 11时25分00秒 <br/>
 *
 * @author 吴高丰
 */
@DBTable(disName = "退剩转信息", mapCode = "product_overage")
public class ProductOverageEntity extends BaseEntity {

    /**
     * 主键
     */
    @Nullable
    private Long id;
    /**
     * 编号
     */
    @DBField(disName = "退剩转信息编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "")
    private String sn;
    /**
     * 车辆编号
     */
    @DBField(disName ="车辆编号")
    private String truckSN;
    /**
     * 车牌号
     */
    @DBField(disName ="车牌号")
    private String truckPlate;
    /**
     * 发货单编号
     */
    @DBField(disName ="发货单编号")
    private String shipOrderSN;
    /**
     * 产品编号
     */
    @DBField(disName ="产品编号")
    private String productSN;
    /**
     * 产品名称
     */
    @DBField(disName ="产品名称")
    private String productName;
    /**
     * 产品规格
     */
    @DBField(disName ="产品规格")
    private String productSpec;
    /**
     * 产品附加信息
     */
    @DBField(disName ="产品附加信息")
    private String productExts;
    /**
     * 余料数量
     */
    @DBField(disName ="余料数量")
    private BigDecimal overageWeight;
    /**
     * 出厂时间
     */
    @DBField(disName ="出厂时间")
    private Date outTime;
    /**
     * 回厂时间
     */
    @DBField(disName ="回厂时间")
    private Date backTime;
    /**
     * 司机姓名
     */
    @DBField(disName ="司机姓名")
    private String driverName;
    /**
     * 司机编号
     */
    private String driverSN;
    /**
     * 处理时间
     */
    @DBField(disName ="处理时间")
    private Date handlerTime;
    /**
     * 处理方式
     */
    @DBField(disName ="处理方式")
    private Short handlerType;
    /**
     * 处理意见
     */
    @DBField(disName ="处理意见")
    private String remark;
    /**
     * 转发单据编号
     */
    @DBField(disName ="转发单据编号")
    private String transShipOrderSN;
    /**
     * 组织代码
     */
    private String organizationCode;
    /**
     * 状态
     */
    private Short state;
    private String truckCode;
    /*
     * 产品种类编号
     */
    private String productCateSN;
    /*
     * 退回数量
     */
    private BigDecimal quantityReturned;

    public BigDecimal getQuantityReturned() {
        return quantityReturned;
    }

    public void setQuantityReturned(BigDecimal quantityReturned) {
        this.quantityReturned = quantityReturned;
    }

    public String getTruckCode() {
        return truckCode;
    }

    public void setTruckCode(String truckCode) {
        this.truckCode = truckCode;
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSn() {
        return this.sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getTruckSN() {
        return this.truckSN;
    }

    public void setTruckSN(String truckSN) {
        this.truckSN = truckSN;
    }

    public String getTruckPlate() {
        return this.truckPlate;
    }

    public void setTruckPlate(String truckPlate) {
        this.truckPlate = truckPlate;
    }

    public String getShipOrderSN() {
        return this.shipOrderSN;
    }

    public void setShipOrderSN(String shipOrderSN) {
        this.shipOrderSN = shipOrderSN;
    }

    public String getProductSN() {
        return this.productSN;
    }

    public void setProductSN(String productSN) {
        this.productSN = productSN;
    }

    public String getProductName() {
        return this.productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductSpec() {
        return this.productSpec;
    }

    public void setProductSpec(String productSpec) {
        this.productSpec = productSpec;
    }

    public String getProductExts() {
        return this.productExts;
    }

    public void setProductExts(String productExts) {
        this.productExts = productExts;
    }

    public BigDecimal getOverageWeight() {
        return this.overageWeight;
    }

    public void setOverageWeight(BigDecimal overageWeight) {
        this.overageWeight = overageWeight;
    }

    public Date getOutTime() {
        return this.outTime;
    }

    public void setOutTime(Date outTime) {
        this.outTime = outTime;
    }

    public Date getBackTime() {
        return this.backTime;
    }

    public void setBackTime(Date backTime) {
        this.backTime = backTime;
    }

    public String getDriverName() {
        return this.driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    public String getDriverSN() {
        return this.driverSN;
    }

    public void setDriverSN(String driverSN) {
        this.driverSN = driverSN;
    }

    public Date getHandlerTime() {
        return this.handlerTime;
    }

    public void setHandlerTime(Date handlerTime) {
        this.handlerTime = handlerTime;
    }

    public Short getHandlerType() {
        return this.handlerType;
    }

    public void setHandlerType(Short handlerType) {
        this.handlerType = handlerType;
    }

    public String getRemark() {
        return this.remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getTransShipOrderSN() {
        return this.transShipOrderSN;
    }

    public void setTransShipOrderSN(String transShipOrderSN) {
        this.transShipOrderSN = transShipOrderSN;
    }

    public String getOrganizationCode() {
        return this.organizationCode;
    }

    public void setOrganizationCode(String organizationCode) {
        this.organizationCode = organizationCode;
    }

    public Short getState() {
        return this.state;
    }

    public void setState(Short state) {
        this.state = state;
    }

    public String getProductCateSN() {
        return productCateSN;
    }

    public void setProductCateSN(String productCateSN) {
        this.productCateSN = productCateSN;
    }
}